import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose';
import { ProductModule } from './product/product.module';
import { UploadModule } from './upload/upload.module';

@Module({
  imports: [
    ProductModule,
    UploadModule,
    MongooseModule.forRoot(
      'mongodb://admin:123456@localhost:27017/task?authSource=admin',
    ),
  ],
})
export class AppModule {}
